﻿@model List<SmallProject.Models.Test.TestModel>
@using SmallProject.Models.Test
@using Small.Html.UI;
@using Small.Html;
@using Small.Html.Options;

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/ListLayout.cshtml";
}
<style type="text/css">

   
</style>

<link href="~/Content/SysTreeList.css" rel="stylesheet" />
@section Scripts
 {
    <script src="~/Scripts/Common/SysTreeList.js"></script>
    <script src="~/Scripts/Common/SysCommon.js"></script>
    <script type="text/javascript">

       
        function testClassBack(value)
        {
              
            $.ajax({
                type:'post',
                url: 'Test/Index1?'+value,
                secuss: function (data)
                {

                },
                error: function ()
                {
                    alert("服务器没响应");
                }
                
            })
        }
    </script>
    }
<h2 style="padding-left:10px;">Index</h2>

@Html.CondictionBegin("testCondiction", new {style="height:200px;" })
<div>
用户名 ：<input type="text"  data-name="UserName" data-type="s" /><br />
年龄 ：<input type="text"    data-name="UserName" data-type="i" /><br />
电话号码 ：<input type="text" data-name="UserName" /><br />
入学日期 ：<input type="text" data-name="UserName" data-operator="<" /><br />
<select name="Session"data-name="session" >
    <option value="">所有</option>
    <option value="1">1年级</option>
    <option value="1">2年级</option>
    <option value="1">3年级</option>
</select>
</div>
 @Html.Search("testCondiction","testClassBack")
@Html.CondictionEnd()


